/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 gtkmm.hh                                                  VLC Gtkmmm gui module
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Copyright © 2006-2008 the VideoLAN team

 Authors: David GUGLIELMI <raxxx.fr@gmail.com>
          David LARROQUE <david.larroque@gmail.com>

 This program is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free Software
 Foundation; either version 2 of the License, or (at your option) any later
 version.

 This program is distributed in the hope that it will be useful, but WITHOUT ANY
 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE. See the GNU General Public License for more details.

 You should have received a copy of the GNU General Public License along with
 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 Street, Fifth Floor, Boston MA 02110-1301, USA.
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/

#ifndef __GTKMM_HH_
#define __GTKMM_HH_

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <vlc_common.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
class MainInterface;

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
struct intf_sys_t
{

  playlist_t *p_playlist;
  msg_subscription_t *p_sub;

  MainInterface *p_mi;

  bool b_isDialogProvider;

};
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define THEPL p_intf->p_sys->p_playlist
#define THEMIM MainInputManager::getInstance (p_intf)
#define QPL_LOCK vlc_object_lock (THEPL);
#define QPL_UNLOCK vlc_object_unlock (THEPL);

#endif /* __GTKMM_HH_ */
